﻿namespace LoveEatRabbit.API.Read.DTOS
{
    /// <summary>
    /// 用户DTO
    /// </summary>
    public class UserDTO
    {
        /// <summary>
        /// 用户编号
        /// </summary>
        public int      UserId { get; set; }
        /// <summary>
        /// 用户名称
        /// </summary>
        public string   UserName { get; set; }
        /// <summary>
        /// 用户密码
        /// </summary>
        public string   UserPass { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string   UserNickname { get; set; }
        /// <summary>
        /// 角色编号（外键）
        /// </summary>
        public int      RoleId { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool States { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatedTime { get; set; }


        /// <summary>
        /// 角色名称
        /// </summary>
        public string   RoleName { get; set; }



        /// <summary>
        /// 角色权限编号
        /// </summary>
        public int      RPId { get; set; }
        /// <summary>
        /// 权限编号
        /// </summary>
        public int PermissionId { get; set; }

        /// <summary>
        /// 权限名称
        /// </summary>
        public string PermissionName { get; set; }
        /// <summary>
        /// 权限路由
        /// </summary>
        public string PermissionURL { get; set; }
        /// <summary>
        /// 获取Toke值
        /// </summary>
        public string Token {  get; set; }
    }
}
